<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
<ul>
<?php foreach($posts as $post): ?>
	<li><a href='/blog/view_post/<?=$post->id?>'><?=$post->text?></a></li>
<?php endforeach; ?>
</ul>
<a href='blog/redactor/'>Добавить новость</a>